﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace calculator
{
    class IffOperation : Operation
    {
        public override bool doOperation(bool firstOperator, bool secondOperator)
        {
            if ((firstOperator == true && secondOperator == true) || (firstOperator == false && secondOperator == false))
                return true;
            else
                return false;
        }
    }
}
